package com.jeomo.mem.starter.sysoption;

import com.jeomo.sys.provider.sysoption.BaseSysOption;
import com.jeomo.sys.provider.sysoption.OptionField;
import com.jeomo.sys.provider.sysoption.OptionType;
import com.jeomo.sys.provider.sysoption.SystemOption;

import java.time.LocalDate;

/**
 * 积分清零_系统选项
 *
 * @author:Jackpot
 * @create 2020-12-08 12:07
 * @description:
 */
@SystemOption(name = "积分定期清零配置")
public class PointsClearSysOption extends BaseSysOption{

    @OptionField(type = OptionType.DATE_TYPE)
    /** 有效期:失效时间(只取月和日)*/
    private LocalDate deadline;
    @OptionField(type = OptionType.STRING_TYPE)
    /** 备注*/
    private String memo;

    public LocalDate getDeadline() {
        return deadline;
    }

    public void setDeadline(LocalDate deadline) {
        this.deadline = deadline;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }
}
